package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.JtCustomerService;

/**
 * 售后预约Mapper接口
 * 
 * @author Alan Zhang
 * @date 2025-03-29
 */
public interface JtCustomerServiceMapper 
{
    /**
     * 查询售后预约
     * 
     * @param serviceId 售后预约主键
     * @return 售后预约
     */
    public JtCustomerService selectJtCustomerServiceByServiceId(Long serviceId);

    /**
     * 查询售后预约列表
     * 
     * @param jtCustomerService 售后预约
     * @return 售后预约集合
     */
    public List<JtCustomerService> selectJtCustomerServiceList(JtCustomerService jtCustomerService);

    /**
     * 新增售后预约
     * 
     * @param jtCustomerService 售后预约
     * @return 结果
     */
    public int insertJtCustomerService(JtCustomerService jtCustomerService);

    /**
     * 修改售后预约
     * 
     * @param jtCustomerService 售后预约
     * @return 结果
     */
    public int updateJtCustomerService(JtCustomerService jtCustomerService);

    /**
     * 删除售后预约
     * 
     * @param serviceId 售后预约主键
     * @return 结果
     */
    public int deleteJtCustomerServiceByServiceId(Long serviceId);

    /**
     * 批量删除售后预约
     * 
     * @param serviceIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteJtCustomerServiceByServiceIds(String[] serviceIds);
}
